import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { File } from 'src/database/entities/file.entity'
import { FileController } from './file.controller'
import { FileService } from './file.service'
import { AuthModule } from 'src/modules/internal-modules/auth/auth.module'

@Module({
  imports: [TypeOrmModule.forFeature([File]), AuthModule],
  controllers: [FileController],
  providers: [FileService],
  exports: [FileService]
})
export class FileModule {}
